TlsClientConnectionT.setValidationFlags

Sets @conn's validation flags, to override the default set of checks performed when validating a server certificate. By default, %G_TLS_CERTIFICATE_VALIDATE_ALL is used.

This function does not work as originally designed and is impossible to use correctly. See #GTlsClientConnection:validation-flags for more information.

More...
template TlsClientConnectionT(TStruct)
void
setValidationFlags
(
GTlsCertificateFlags flags
)

Parameters

flags GTlsCertificateFlags

the #GTlsCertificateFlags to use

Detailed Description

Deprecated: Do not attempt to ignore validation errors.

Meta

Since

2.28